﻿using Chromely.Core.Configuration;
using System;
using Xilium.CefGlue.Wrapper;

namespace Reader.Controllers.Message
{
    public class ExtensionController : ProcessController
    {
        private IChromelyConfiguration _config;
        public ExtensionController(IChromelyConfiguration config)
        {
            _config = config;
        }
        public string guid()
        {
            return Guid.NewGuid().ToString();
        }
        public string version()
        {
            return _config.ChromelyVersion;
        }
    }
}
